fix: round for float/double#4078
Conversation
|
Thanks @kazuyukitanimura. This looks good overall, but we need to think about configs for this. We have not enabled any JVM UDFs by default yet - they should be opt-in until the UDF functionality is more mature. There is a general discussion on the config approach in #4310 |
Thanks @andygrove |
|
Test failure: |
This PR enabled a Comet JVM UDF by default. This would be the first one if we merge it. I don't know if we are ready to enable JVM UDF by default yet. |
Perhaps if this is re-implemented to use the new UDF codegen approach then it would be gated on |
Which issue does this PR close?
Part of #2551
Rationale for this change
Spark round behavior for float/double is JVM version specific
What changes are included in this PR?
useed UDFs to solve the issue
How are these changes tested?
Tests added